<%@page import="dao.CommunityDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	request.setCharacterEncoding("utf-8");
	int b_no = Integer.parseInt(request.getParameter("b_no"));
	String c_pwd = request.getParameter("c_pwd");
	String b_pwd = CommunityDao.getDao().selectCheckPwd(b_no);
	
	if(!c_pwd.equals(b_pwd)){
		out.println("[{'result':'fail'}]");
	}else{
		out.println("[{'result':'success'}]");
	}
%>